#!/usr/bin/env bash
export EDITOR="vim"

# caffe
export CAFFE_ROOT=${HOME}/caffe-quant
export PYTHONPATH=${CAFFE_ROOT}/python
export PYTHONPATH=${PYTHONPATH}:${CAFFE_ROOT}/python/lib
export PYTHONPATH=${PYTHONPATH}:${CAFFE_ROOT}/python/lib/rpn

# onnx
export ONNXQ_HOME=$HOME/onnx-quant
export PYTHONPATH=${PYTHONPATH}:${ONNXQ_HOME}
# bvae模型依赖此
export PYTHONPATH=${PYTHONPATH}:/data/model_zoo/pytorch/models/
export PYTHONPATH=${PYTHONPATH}:${ONNXQ_HOME}/onnx_quantize_tool

export PATH=${HOME}/bin:${PATH}
export PATH=${PATH}:${HOME}/debug
# export PATH=${PATH}:/usr/local/cuda/bin

alias h='history'
alias ll='ls -l'
alias ssh='ssh -i /home/liujinsong/.ssh/id_rsa_for_gerrit'
alias jq='jq --indent 4'
alias wget='wget --no-check-certificate --user liujinsong --ask-password'
alias tse='ts_envs.sh'
alias rq='realpath'
alias cq='cscope_quantize.sh -m -t'
alias co='cscope_onnxq.sh'
alias ca='cscope_caffe.sh -p'
alias cy='cscope_python.sh'
alias cs='cscope_sh.sh'
alias cr='cscope_ort.sh'
alias cf='c++filt'
alias py38='. ${HOME}/bin/enter_py38.sh'
alias qpy38='. ${HOME}/bin/quit_py38.sh'

# caffe量化工具使用的环境变量
export TS_CHIP="TX510"
export TS_CHIP_TYPE="TX5105C"
export TS_DEV=true
# knight 1.2以后不再使用
export TS_CAFFE_QUANT_DEV=true
